package com.amoyt.project.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 贫困户需求情况表
 * </p>
 *
 * @author AmoyT
 * @since 2025-08-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Schema(description = "贫困户需求情况表")
@TableName("poverty_demand_info")
public class DemandInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "需求记录ID（25位字符串）")
    @TableId(value = "demand_id", type = IdType.INPUT)
    private String demandId;

    @Schema(description = "关联外键--贫困户ID")
    private String householdId;

    @Schema(description = "需求类型（如教育、医疗、住房等）")
    private String needType;

    @Schema(description = "具体需求说明")
    private String needDescription;

    @Schema(description = "优先级：1-高，2-中，3-低")
    private String priorityLevel;

    @Schema(description = "预计完成日期")
    private Date expectedCompletionDate;

    @Schema(description = "实际完成日期")
    private Date actualCompletionDate;

    @Schema(description = "状态：0-已取消，1-进行中，2-已完成")
    private String status;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改人")
    private String updateBy;

    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "逻辑删除：0-未删除，1-已删除")
    private Integer deleted;
}
